package gov.gfbzb.advice.config;

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: 小宇
 * @CreateTime: 2025/07/05 15:04
 * @Function: Swagger
 */
@Configuration
public class SwaggerConfig {
    // http://localhost:5704/swagger-ui/index.html
    @Bean
    public OpenAPI customOpenAPI() {
        return new OpenAPI()
                .info(new Info()
                        .title("征兵咨询API文档")
                        .version("1.0.0")
                        .description("征兵咨询API文档"));
    }
}